package com.lyf.baoxian.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.lyf.baoxian.R;
import com.lyf.baoxian.activity.MainActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by 刘亚飞 on 2016/11/30.
 */

public class MyFragment extends BaseFragment implements View.OnClickListener {
    /*@Bind(R.id.bt_exit)
    Button mButton;*/

    @Override
    protected void afterCreate(Bundle savedInstanceState) {
        initData();
//        mButton.setOnClickListener(this);

    }

    /**
     * 初始化数据
     */
    private void initData() {

    }

    @Override
    protected View addLayout(LayoutInflater inflater) {
        View view = inflater.inflate(R.layout.fragment_my, null);
        return view;
    }

    @Override
    public void onDestroy() {
        ButterKnife.unbind(this);
        super.onDestroy();
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            /*case R.id.bt_exit:
                mActivity.finish();
                break;*/
        }
    }
}
